package com.carkeeper.system.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;

/**
 * @author 周志雄
 * @version 1.0
 * @date 2020/11/23 15:36
 */
@Table(name = "tb_role")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Role implements Serializable {

    @Id
    private Long id;

    //角色名称
    private String name;

    //角色详情
    private String detail;

    private Menu menu;

    private List<Menu> menus;
    private List<Long> menuIds;


}
